package com.jalarbee.core.business;

import java.io.Serializable;
import javax.persistence.Version;


/**
 * @author devel
 * 
 */
public abstract class BaseEntity implements Serializable {
	
	@Version
	protected int version;
	
	protected int getVersion() {
		return version;
	}

	protected void setVersion(int version) {
		this.version = version;
	}

	public abstract boolean equals(Object obj);

	public abstract int hashCode();

	public abstract String toString();
}
